Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Abstract Window Toolkit Control Functions /


JMMenuSelected

Dispatch a menu event to an AWT context.

OSStatus JMMenuSelected (
JMAWTContextRef context,
MenuHandle hMenu,
short menuItem);
context
The AWT context that owns the menu.
hMenu
The menu handle that was selected.
menuItem
The item that was selected.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
You can use the Mac OS Toolbox function GetMenuHandle to get the appropriate value of hMenu to pass.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help